package com.qf.boot2203.dao;

import com.qf.boot2203.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    public List<User> getAllUsers();

    User getOneUserByName(@Param("username") String username);

    void insertUser(User user);

    User getOneUserByNameAndPassword(@Param("username") String username, @Param("password") String password);

}
